package com.cadre.common.enums;

/* loaded from: ResultEnum.class */
public enum ResultEnum {
    PARAMETER_ERROR(450, "请求参数不正确"),
    NULL_ERROR(452, "请求参数为空"),
    PARAMETER_NULL(455, "请设置收索条件"),
    LOGIN_ERROR(455, "用户未登录"),
    USER_NO_DATA(460, "用户无有效的数据权限"),
    LOGINING_ERROR(456, "当前登陆用户不可用"),
    ERROR(500, "系统升级中..."),
    OPEN_OFFICE_ERROR(501, "OpenOffice链接异常..."),
    EXCEL_ERROR(502, "excel响应异常..."),
    WORLD_ERROR(502, "world响应异常..."),
    PDF_ERROR(502, "pdf响应异常..."),
    OFFICE_ERROR(502, "文件响应异常..."),
    PERSMISS_ERROR(502, "无权限删除数据..."),
    EXPORT_DATA_IS_NULL(502, "选择导出的数据为空"),
    CACHE_ERROR(502, "本地缓存异常"),
    EXPORT_CADRES_ERROR(502, "日期格式错误,请设置成:【2018.08】样式");
    
    private Integer code;
    private String message;

    ResultEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return this.code;
    }

    public String getMessage() {
        return this.message;
    }
}
